<?php
//路由规则配置
return array(
    //素材库图片获取
    'b/s/:ename' => 'Home/Material/slide',
    'home' => 'Home/Index/index', //首页
    'bus/mall/ad/:cbd/:p' => 'Home/Bus/getBusMallsAdAjax', //首页根据商圈获取商场ad信息
    'bus/mall/list/:cbd' => 'Home/Bus/getBusMallAjax', //商场列表
    'register/:uid\d' => 'Home/Public/register', //注册界面
    'register' => 'Home/Public/register', //注册界面
    'activation/:key' => 'Home/Public/activation',
    'malls' => 'Home/Mall/mlist',
    'brands/get/:i' => 'Home/Brand/getBrandsByAjax', //ajax获取品牌信息
    'brands' => 'Home/Brand/index', //品牌列表
    'bus/malls/:cbd\d' => 'Home/Mall/getBusMall',
    'login/minibox' => 'Home/UserLogin/loginMiniBox',
    'login/box' => 'Home/UserLogin/loginBox',
    'login/out' => 'Home/Public/loginOut',
    'login' => 'Home/Public/login',
    //引导关注
    'guidestart/mall' => 'Home/GuideStart/mallAtt', //没有关注商场引导关注商场
    'guidestart/brand' => 'Home/GuideStart/brandAtt', //没有关注品牌引导关注品牌
    //关注
    'attention/add' => 'Home/Attention/add', //添加关注
    'attention/cancel' => 'Home/Attention/cancel', //取消关注
    //用户中心
    'member/home' => 'Home/Member/home',
    'member/brand/news' => 'Home/Member/getAttBrandDis', //品牌关注显示
    'member/mall/dis' => 'Home/Member/getAttMallDis', //商场关注显示
    'member/attention/mall' => 'Home/Member/attentionMall', //用户关注
    'member/attention/brand' => 'Home/Member/attentionBrand', //用户关注
    'member/attention' => 'Home/Member/attentionBrand', //用户关注
    'member/att/brand/:i' => 'Home/Member/getAttentionBrand', //获取用户关注品牌信息
    'member/credit/:id\d/:uid\d' => 'Home/Member/credit', //用户积分兑换 重新短信发送
    'member/credit' => 'Home/Member/credit', //用户积分兑换
    'member/invite' => 'Home/Member/invite', //好友邀请
    'member/score' => 'Home/Member/score', //积分查看
    'member/setting' => 'Home/Member/setting',
    'member/update' => 'Home/Member/update', //执行基本帐号信息修改
    'member/passwd' => 'Home/Member/passwd', //执行密码修改
    'member/phone' => 'Home/Member/phone', //执行手机号码绑定
    'member/send/sms' => 'Home/Member/sendUserPhoneVerify', //手机验证短消息发送
    //积分兑换
    'credit/:id\d' => 'Home/Credit/detail',
    'credit/receive/:id\d' => 'Home/Credit/receive',
    'credit/checkReceive/:id\d' => 'Home/Credit/checkReceive',
    'credit' => 'Home/Credit/index',
    //特卖汇总
    'discount/:id\d' => 'Home/Discount/detail',
    'discount' => 'Home/Discount/index',
    //搜索
    'search/brands' => 'Home/Search/getBrands',
    'search/:keyword' => 'Home/Search/index',
    //其他界面
    'other/:name' => 'Home/Other/index',
    //公告
    'bulletin/detail/:id\d' => 'Home/Bulletin/detail',
    'bulletin/list' => 'Home/Bulletin/index',
    //密码找回操作
    'forgot/password' => 'Home/Public/forgotPassword',
    'getpasswd/:key' => 'Home/Public/passwdChange',
    //第三方帐号处理
    'oauth/login/:type' => 'Home/Oauth/login',
    'oauth/registered/:type' => 'Home/Oauth/registered',
    'oauth/bind/:type' => 'Home/Oauth/bind',
    'oauth/unbind/:type' => 'Home/Oauth/unbind',
    //api
    'router/rest' => 'Api/Index/index',
);